package com.wyp168.gulimall.member.feign;

import com.wyp168.common.utils.R;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient("gulimall-coupon")
public interface CouponFeignService {
    @LoadBalanced
    @RequestMapping(method = RequestMethod.GET, value = "coupon/coupon/getCouponsTest")
    public R memberCoupons();
}
